sql1 = "Select * from user ....."
sql2 = "insert into user ......"

print(sql1.split(" "))
if sql2.split(" ")[0].lower() == "select":
    print("这是一个SQL语句")
else:
    print("这不是一个SQL语句")